package com.ruoyi.grape.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地块信息对象 tb_grape_plot
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapePlot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long plotId;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String plotName;

    /** 地块位置 */
    @Excel(name = "地块位置")
    private String plotLocation;

    /** 土壤类型 */
    @Excel(name = "土壤类型")
    private String soilType;

    /** 地块面积 */
    @Excel(name = "地块面积")
    private Double plotArea;

    /** 品种名称 */
    @Excel(name = "品种名称")
    private String plotSort;

    /** 负责人 */
    @Excel(name = "负责人")
    private String plotHead;

    /** 园区号 */
    @Excel(name = "园区号")
    private Long gardenNum;

    /** 备注 */
    @Excel(name = "备注")
    private String plotNote;

    public void setPlotId(Long plotId) 
    {
        this.plotId = plotId;
    }

    public Long getPlotId() 
    {
        return plotId;
    }
    public void setPlotName(String plotName) 
    {
        this.plotName = plotName;
    }

    public String getPlotName() 
    {
        return plotName;
    }
    public void setPlotLocation(String plotLocation) 
    {
        this.plotLocation = plotLocation;
    }

    public String getPlotLocation() 
    {
        return plotLocation;
    }
    public void setSoilType(String soilType) 
    {
        this.soilType = soilType;
    }

    public String getSoilType() 
    {
        return soilType;
    }
    public void setPlotArea(Double plotArea) 
    {
        this.plotArea = plotArea;
    }

    public Double getPlotArea() 
    {
        return plotArea;
    }
    public void setPlotSort(String plotSort) 
    {
        this.plotSort = plotSort;
    }

    public String getPlotSort() 
    {
        return plotSort;
    }
    public void setPlotHead(String plotHead) 
    {
        this.plotHead = plotHead;
    }

    public String getPlotHead() 
    {
        return plotHead;
    }
    public void setGardenNum(Long gardenNum) 
    {
        this.gardenNum = gardenNum;
    }

    public Long getGardenNum() 
    {
        return gardenNum;
    }
    public void setPlotNote(String plotNote) 
    {
        this.plotNote = plotNote;
    }

    public String getPlotNote() 
    {
        return plotNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plotId", getPlotId())
            .append("plotName", getPlotName())
            .append("plotLocation", getPlotLocation())
            .append("soilType", getSoilType())
            .append("plotArea", getPlotArea())
            .append("plotSort", getPlotSort())
            .append("plotHead", getPlotHead())
            .append("gardenNum", getGardenNum())
            .append("plotNote", getPlotNote())
            .toString();
    }
}
